Skip to content

Conversation

@timhurskidremio
Copy link

No description provided.

@github-actions
Copy link

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@timhurskidremio timhurskidremio force-pushed the add-support-for-gcm-encryption-mode branch 2 times, most recently from c3ef53f to 70977aa Compare November 17, 2025 17:31
@timhurskidremio timhurskidremio force-pushed the add-support-for-gcm-encryption-mode branch 2 times, most recently from b4eb85f to cae639b Compare November 18, 2025 15:11
- Create ensure_mode() helper that throws std::runtime_error for invalid modes
- Update all 6 AES functions (3 encrypt + 3 decrypt) to use ensure_mode()
- ECB, CBC, GCM encrypt functions now use centralized mode validation
- ECB, CBC, GCM decrypt functions now use centralized mode validation
- Remove redundant mode validation code from all functions
- Wrap all function bodies in try-catch to handle exceptions from ensure_mode()
- Consistent error handling across all modes
@timhurskidremio timhurskidremio force-pushed the add-support-for-gcm-encryption-mode branch from cae639b to 77da0d6 Compare November 18, 2025 15:40
@timhurskidremio timhurskidremio deleted the add-support-for-gcm-encryption-mode branch November 25, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant